{$formStart}
<table>
    <tr>
        <th colspan="2">{$settings}</th>
    </tr>
    <tr>
        <td>{$categoryRootLabel}</td>
        <td><select name="categoryRoot">
        {section name=category loop=$categories}
            <option value="{$categories[category].data.id}" {if $categoryRoot == $categories[category].data.id }
            selected="selected"
            {/if}>{$categories[category].data.name}</option>
        {/section}
        </select></td>
    </tr>
    <tr>
        <td>{$fileRootLabel}</td>
        <td><select name="filesRoot">
        {section name=file loop=$files}
            <option value="{$files[file].data.id}" {if $fileRoot == $files[file].data.id}
            selected="selected"
            {/if}>{$files[file].data.name}</option>
        {/section}
        </select></td>
    </tr>
    <tr>
        <td colspan="2"><input type="submit" value="{$save}" /></td>
    </tr>
</table>
</form>